﻿<model:FormInstance 
    xmlns:model="clr-namespace:WPForms.Common.Model;assembly=WPForms.Common"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    
    Name="VendingMachine">
    <model:FormInstance.MainSection>
        <model:FormSection Name="Vending Machine">
            <model:FormSection.Children>
                <model:GeoLocation Label="Address:" IsRequired="True"/>
                <model:PictureAttachment Label="Picture:" IsRequired="True"/>
                <model:NumberField Label="Cash amount:" IsRequired="True"/>
                <model:FormSection Name="Inventory">
                    <model:FormSection.Children>
                        <model:NumberField LabelWidth="250" Label="Coca-Cola:" IsRequired="True"/>
                        <model:NumberField LabelWidth="250" Label="Cherry Coke:" IsRequired="True"/>
                        <model:NumberField LabelWidth="250" Label="Fanta (orange):" IsRequired="True"/>
                        <model:NumberField LabelWidth="250" Label="Fanta (lemon):" IsRequired="True"/>
                    </model:FormSection.Children>
                </model:FormSection>                                
            </model:FormSection.Children>
        </model:FormSection>
    </model:FormInstance.MainSection>
</model:FormInstance>   